Tag Link | [String->Merge] | Category | String |
---|---|---|---|
Type | Member | Source Available | No |
Support | Preferred | Version | 6.0 |
Change | Unchanged | Data Source | Any |
Output Type | None | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0 |
[String->Merge] modifies the base string in
The first parameter is the location in the base string at which to insert the merge string. A 1 specifies that the merge string should be inserted before the base string.
The second parameter is the string to merge.
An optional third parameter specifies an offset into the merge string. Only characters after the specified offset will be inserted into the base string. This parameter defaults to 1.
An optional fourth parameter specifies the number of characters from the merge string that should be inserted into the base string. This parameter defaults to the length of the merge string.
No characters from the base string will be replaced. The merge string will be inserted into the base string at the specified location, but the base string will remain intact before and after the merged string.
[Variable: 'myString' = 'String Value']
[$myString->(Merge: Offset, 'Merge String']
[Variable: 'myString']
[$myString->(Merge: Offset, 'Merge String', Offset, Length)]
Required Parameters | |
---|---|
Position | The position at which the string should be merged into the base string. |
Merge Value | The string which is to be merged into the base string. |
Optional Parameters | |
Offset | Optional offset into the merge string specifies what characters to insert. |
Length | Optional length specifies how many characters of the merge string to insert. |
See the Lasso 8 Language Guide for examples of how to use this tag.